<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title></title>
        <meta charset="utf-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
        <link rel="stylesheet" href="../css/ui-res.css">
        <link rel="stylesheet" href="../css/ui-btn.css">
        <link rel="stylesheet" href="../css/ui-list.css">
        <link rel="stylesheet" href="../css/ui-base.css">
        <link rel="stylesheet" href="../css/ui-box.css">
        <link rel="stylesheet" href="../css/ui-color.css">
        <link rel="stylesheet" href="../css/ui-style.css">
        <link rel="stylesheet" href="../css/carousel.css">
        <link rel="stylesheet" href="../css/carousel-style.css">
        <link rel="stylesheet" href="../css/scroller.css">
        <script src="../js/zy_control.js">
        </script>
        <script src="../js/zy_anim.js">
        </script>
        <script src="../js/zy_click.js">
        </script>
        <script type="text/javascript" src="../js/iscroll.js">
        </script>
        <script>
            
            var myScroll, pullDownEl, pullDownOffset, generatedCount = 0;
            
            function pullDownAction(){
                var cid = localStorage.getItem('cid');
                getNewsList(cid);
                uexWindow.toast('0', '5', '刷新成功', '2000');
                myScroll.refresh(); // Remember to refresh when contents are loaded (ie: on ajax completion)
            }
            
            function pullUpAction(){
                setTimeout(function(){ // <-- Simulate network congestion, remove setTimeout from production!
                    myScroll.refresh(); // Remember to refresh when contents are loaded (ie: on ajax completion)
                }, 1000); // <-- Simulate network congestion, remove setTimeout from production!
            }
            
            function loaded(){
                pullDownEl = document.getElementById('pullDown');
                pullDownOffset = pullDownEl.offsetHeight;
                
                myScroll = new iScroll('wrapper', {
                    fixedScrollbar: false,
                    vScrollbar: false,
                    checkDOMChanges: true,
                    useTransition: true,
                    topOffset: pullDownOffset,
                    onRefresh: function(){
                        if (pullDownEl.className.match('loading')) {
                            pullDownEl.className = '';
                            pullDownEl.querySelector('.pullDownLabel').innerHTML = '下拉刷新...';
                        }
                    },
                    onScrollMove: function(){
                        if (this.y > 5 && !pullDownEl.className.match('flip')) {
                            pullDownEl.className = 'flip';
                            pullDownEl.querySelector('.pullDownLabel').innerHTML = '松开刷新...';
                            this.minScrollY = 0;
                        }
                        else 
                            if (this.y < 5 && pullDownEl.className.match('flip')) {
                                pullDownEl.className = '';
                                pullDownEl.querySelector('.pullDownLabel').innerHTML = '下拉刷新...';
                                this.minScrollY = -pullDownOffset;
                            }
                    },
                    onScrollEnd: function(){
                        if (pullDownEl.className.match('flip')) {
                            pullDownEl.className = 'loading';
                            pullDownEl.querySelector('.pullDownLabel').innerHTML = '正在刷新...';
                            pullDownAction(); // Execute custom function (ajax call?)
                        }
                    }
                });
                
                setTimeout(function(){
                    document.getElementById('wrapper').style.left = '0';
                }, 800);
            }
            
            document.addEventListener('touchmove', function(e){
                e.preventDefault();
            }, false);
            document.addEventListener('DOMContentLoaded', function(){
                setTimeout(loaded, 0);
            }, false);
        </script>
    </head>
    <body class="um-vp c-wh" ontouchstart>
        <div id="page_0" class="up ub ub-ver" tabindex="0">
        				<div id="header" class="uh c-m3 t-wh headerbg">
                <!--按钮开始-->
 		 <div class="btn btn-l ub ub-ac" style="height:100%;">       
              <div class="ulim" ontouchstart="zy_touch('btn-newact')" onclick="uexWindow.close(-1);" style="border-right:1px dotted #ccc;">
              	<img src='../css/images/title_back.png' style="width:2.5em;height:2.5em;">
				<span style="height:100%;">&nbsp;</span>
			  </div>       
          </div>
<!--按钮结束--><h1 class="hbg ulev0 ut-s tx-c" tabindex="0"><span style="font-size:1.3em;"><img src="../css/images/news_title.png" style="height:1em;margin-top:0.1em;"></span></h1>
            </div>
           <!--content开始-->			
			   <div id="content" class="ub-f1 tx-l t-bla ub-img6 res10">
                <div style="overflow: hidden; left: 0px;" id="wrapper">
                    <div style="-moz-transition-property: -moz-transform; -moz-transform-origin: 0px 0px; -moz-transition-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1); -moz-transform: translate(0px, -51px) scale(1) translateZ(0px); -moz-transition-duration: 0ms;" id="scroller">
                        <div class="" id="pullDown">
                            <span class="pullDownIcon"></span>
                            <span class="pullDownLabel">下拉刷新...</span>
                        </div>
                        <div id="content" class="ub-f1 tx-l t-bla ub-img6 res10">
			                 <div class="nvtitle" id="nvtitle"> 准备微软亚太区工作会议文件</div>
							<div class="dateline" >日期   ：2013-08-19 </div>
							<div class="nvcontent"><p>规章制度的制定程序关键是要保证制定出来的规章制度内容具有民主性和科学性。规章制度的大多数内容与职工的权利密切相关，让广大职工参与规章制度的制定，可以有效地杜绝用人单位独断专行，防止用人单位利用规章制度侵犯劳动者的合法权益。</p> 
							<p> </p><p>职工参与企业民主管理，是企业管理制度的一个重要内容。这不仅仅是中国社会主义企业管理的特色，而是世界范围内企业管理的一个趋势。</p>
							 <p>制定重要的规章制度时，应当听取公司工会的意见，并通过职工代表大会或者其他形式听取职工的意见和建议。</p>
						</div></div>
                       </div>
                   </div>
			</div>
            <!--content结束--><!--footer开始-->
            <div id="footer" class="uh c-m3 t-wh headerbg">
                <h1 class="ut ulev-2 tx-c" tabindex="0">(c) Copyright 江宁教育 2013-2014.
                    <br>
                    All rights reserved.
                </h1>
            </div>
            <!--footer结束-->
        </div>
    </body>
    <script src="../js/zy_icache.js">
    </script>
    <script src="../js/zepto.js">
    </script>
    <script src="../js/carousel.js">
    </script>
    <script src="../js/base64.js">
    </script>
    <script src="../js/info.js">
    </script>
    <script>
        zy_init();
        window.uexOnload = function(type){
            if (!type) {
                zy_initcache(function(){
                });
            }
            getHeadNews();
            //getNewsList(8);
            $('.m-carousel').carousel();
            //用于澳洲滚动新闻监控
            $('.m-item').bind('click', function(){
                var aid = this.id;
                if (aid == '') {
                    alert("数据未加载完全，请稍后访问！");
                }
                else {
                    goNewsWindow(aid);
                }
            })
        }
        //用于头部间隔滚动
        setInterval('cycle()', 3000);
        
        $(window).swipeLeft(function(){
        
        })
        
        $(window).swipeRight(function(){
        
        })
    </script>
</html>
